[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KBDFILE SEXP

 Function
  Stuff the contents of a text file into the keyboard buffer for later
  processing.

 Syntax
  KBDFILE file

   file  - A string expression with the filename whose contents should
           be stuffed into the keyboard buffer.

 Remarks
  This statement allows you to feed a series of keystrokes to PCBoard as
  though they were typed in by the user.  This is useful when you need to
  feed a series of commands to PCBoard one right after another and they
  would add up to more than 256 characters (the maximum buffer size for
  KBDSTUFF).

 Examples
  INTEGER retcode
  SHOWOFF
  OPENCAP "NEWFILES.LST",retcode
  KBDSTUFF CHR(13)
  DIR "N;S;A;NS"
  CLOSECAP
  SHOWON
  SHELL TRUE,retcode,"PKZIP","-mex NEWFILES NEWFILES.LST"
  KBDFILE "FLAGFILE.CMD"

See Also: KBDSTUFF
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson